package com.cloudkinto.dto.order.amazonV2Shipping;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * @author long
 * @Description 正在发货的包裹的状态
 * @Date 2025/2/12 17:49
 */
public enum Status implements IEnum<String> {
    /**
     *
     */
    PreTransit("包裹已创建，但尚未提取"),
    InTransit("包裹已被取走，正在运输途中"),
    Delivered("包裹已成功送达"),
    Lost("包丢失"),
    OutForDelivery("包裹已发货"),
    Rejected("包已被收件人拒绝"),
    Undeliverable("包裹无法送达"),
    DeliveryAttempted("试图投递到收件人位置，但未被投递"),
    PickupCancelled("包裹的取件已被取消"),
    AwaitingCustomerPickup("包裹存放在工厂供客户取件");

    private final String desc;

    Status(String desc) {
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return name();
    }

    public String getDesc() {
        return desc;
    }
}
